<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<%@ taglib uri="/struts-tags" prefix="s"%>
<%@ taglib uri="/struts-dojo-tags" prefix="sx"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<base href="<%=basePath%>">

		<title>搜索书签</title>
		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="This is my page">
		<link rel="stylesheet" type="text/css" href="/Bookmark/css/style.css" />
		<script type="text/javascript" src="/Bookmark/js/extern.js"></script>
		<sx:head />
	</head>

	<body>
		<div id="header">
			<div>
				<a href="javascript:void(0)" class="logo"><img src="/Bookmark/images/logo.gif"
						alt="" width="192" height="42" /> </a>
				<div class="inner_copy">
					<a href="javascript:void(0)">web directories</a>
				</div>
				<div class="search">
					<s:form action="nologinSearchAction.action" id="search">
						<s:textfield name="query" value="%{query}" cssClass="search_field"></s:textfield>
						<s:submit cssClass="search_button" value=""></s:submit>
					</s:form>
				</div>
			</div>
		</div>
		<div id="content">
			<div class="column">
				<img src="/Bookmark/images/top.gif" alt="" width="231" height="5" />
				<br />
				<div class="inner_copy">
					<a href="http://www.cssmoban.com/">free templates</a><a
						href="http://www.bannermoz.com/">banner templates</a>
				</div>
				<div>
					<img src="/Bookmark/images/title2.gif" alt="" width="209"
						height="30" />
					<br />
					<p>
						<a href="http://cang.baidu.com/">百度搜藏</a> 百度搜藏是免费的网络收藏夹。帮您高效地收藏、整理网络资源，无论您到哪里，都可以随时随地浏览、搜索和使用。

						<span>cang.baidu.com</span>
					</p>
					<p>
						<a href="http://shuqian.qq.com/">QQ收藏夹</a> QQ书签是腾讯公司推出的免费网址收藏夹，可以帮助您收藏自己喜欢的网页，让您能够随时随地的管理和使用，并和朋友分享，方便你收集和分享网络资源。
						<span>shuqian.qq.com</span>
					</p>
				</div>
				<img src="/Bookmark/images/bot.gif" alt="" width="231" height="5" />
				<br />
			</div>
			<div class="list">
				<h3>
					搜索结果
				</h3>
				<s:if test="bookmarkList.isEmpty()">
					<div style="text-align: center;">
						无记录
					</div>
				</s:if>
				<s:else>
					<s:iterator value="bookmarkList">
						<p>
							<s:url action="dispatchAction.action" var="url">
								<s:param name="bookmarkId">
									<s:property value="bookmarkId" />
								</s:param>
							</s:url>
							<s:a href="%{url}" target="_blank">
								<s:property value="bookmarkTitle" />
							</s:a>
							<s:property value="bookmarkDesc" />
							<span><s:property value="bookmarkUrl" /> </span>
							<span> <s:url action="contentRecommendAction.action"
									var="url">
									<s:param name="bookmarkId">
										<s:property value="bookmarkId" />
									</s:param>
								</s:url> <sx:a cssStyle="display:inline;" href="%{url}"
									targets="%{bookmarkId}">内容相似</sx:a> &nbsp;&nbsp;&nbsp; <s:url
									action="bookmarkRecommendAction.action" var="url">
									<s:param name="bookmarkId">
										<s:property value="bookmarkId" />
									</s:param>
								</s:url> <sx:a cssStyle="display:inline;" href="%{url}"
									targets="%{bookmarkId}">项目相似</sx:a> </span>
						</p>
						<p id="<s:property value='bookmarkId' />"></p>
					</s:iterator>
				</s:else>
				<div class="pages">
				</div>
			</div>
		</div>
		<div id="footer">
			<div>
				<ul>
					<li>
						<a href="/Bookmark/login.jsp">登录</a> |
					</li>
					<li>
						<a href="/Bookmark/register.jsp">注册</a>
					</li>
				</ul>
			</div>
			<span>Copyright &copy; yeq. All rights reserved.</span>
			<div class="inner_copy">
				<a href="http://www.beautifullife.info/">beautiful</a><a
					href="http://www.grungemagazine.com/">grunge</a>
			</div>
		</div>
	</body>
</html>
